package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_meeting_reserved_apply")
public class MeetingReservedApplyVO extends BaseVO {
    private static final long serialVersionUID = -7399107645513740411L;

    @ApiModelProperty(value = "申请单编号")
    private String applyNo;

    @ApiModelProperty(value = "流程ID")
    private String processId;

    @ApiModelProperty(value = "会议名称")
    private String meetingName;

    @ApiModelProperty(value = "会议部门")
    private String meetingDept;

    @ApiModelProperty(value = "会议开始时间")
    private String meetingBeginTime;

    @ApiModelProperty(value = "会议结束时间")
    private String meetingEndTime;

    @ApiModelProperty(value = "会议室位置")
    private String meetingLocation;

    @ApiModelProperty(value = "会议室主持人")
    private String meetingModerator;

    @ApiModelProperty(value = "参会人数")
    private String number;

    @ApiModelProperty(value = "申请单状态 0-草稿 1-处理中 2-撤回 3-退回 4-办结")
    private String applyStatus;

    @ApiModelProperty(value = "参会人集合")
    @TableField(exist = false)
    private List<MeetingPersonVO> personList;

    @ApiModelProperty(value = "会议物资集合")
    @TableField(exist = false)
    private List<MeetingSuppliesVO> suppliesList;

    @ApiModelProperty(value = "会议室位置名称")
    @TableField(exist = false)
    private String levelName;

    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Integer pageNum;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
